package com.gec.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.model.system.ITripItineraryOrder;
import com.gec.model.system.ITripService;
import com.gec.model.vo.ITripItineraryOrderVo;
import com.gec.model.vo.ITripServiceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dafei
 * @since 2024-01-23
 */
public interface ITripItineraryOrderMapper extends BaseMapper<ITripItineraryOrder> {

    IPage<ITripItineraryOrder> selectPage(IPage<ITripItineraryOrder> page1,
                                   @Param("vo") ITripItineraryOrderVo iTripItineraryOrderVo,
                                   @Param("ew") LambdaQueryWrapper lambdaQueryWrapper
    );

    List<ITripItineraryOrder> getAllByUserId(@Param("userId") Long userId);
}
